import { Adapter } from "./Adapter";
import { IAdapter } from "./IAdapter";
import { IService } from "./IService";
import { Service } from "./Service";
class Client {
    server: IAdapter
    constructor(server: IAdapter) {
        this.server = server
    }

    methods() {
        this.server.method('hello')
    }
}



const client = new Client(new Adapter(new Service()))

client.methods()